package com.leon.alishop.model;

import java.io.Serializable;
import java.util.Date;

public class GoodsInfo implements Cloneable, Serializable{

	private static final long serialVersionUID = 1L;

	private Long id;
	
	private String providerGoodsName;
	
	private Integer providerGoodsPrice;
	
	private Integer providerStatus;
	
	private Integer providerSaleVolume;
	
	private Integer providerAreaId;
	
	private Integer providerStock;
	
	private Integer providerViewNum;
	
	private Integer providerFavNum;
	
	private Integer providerId;
	
	private Long providerTaobaoGoodsId;
	
	private Long taobaoGoodsId;
	
	private Integer partnumber;
	
	private String goodsName;
	
	private Integer stock;
	
	private Integer status;
	
	private Integer goodsPrice;
	
	public Integer getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(Integer goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	private String goodsImgInfo;
	
	private String providerGoodsImgInfo;
	
	private Integer favScore;
	
	private Date createDate;
	
	private Date modifyDate;

	public GoodsInfo() {
		super();
	}

	public GoodsInfo(Long id, String providerGoodsName,
			Integer providerGoodsPrice, Integer providerStatus,
			Integer providerSaleVolume, Integer providerAreaId,
			Integer providerStock, Integer providerViewNum,
			Integer providerFavNum, Integer providerId,
			Long providerTaobaoGoodsId, Long taobaoGoodsId, Integer partnumber,
			String goodsName, Integer stock, Integer status,
			Integer goodsPrice, String goodsImgInfo,
			String providerGoodsImgInfo,Integer favScore, Date createDate, Date modifyDate) {
		super();
		this.id = id;
		this.providerGoodsName = providerGoodsName;
		this.providerGoodsPrice = providerGoodsPrice;
		this.providerStatus = providerStatus;
		this.providerSaleVolume = providerSaleVolume;
		this.providerAreaId = providerAreaId;
		this.providerStock = providerStock;
		this.providerViewNum = providerViewNum;
		this.providerFavNum = providerFavNum;
		this.providerId = providerId;
		this.providerTaobaoGoodsId = providerTaobaoGoodsId;
		this.taobaoGoodsId = taobaoGoodsId;
		this.partnumber = partnumber;
		this.goodsName = goodsName;
		this.stock = stock;
		this.status = status;
		this.goodsPrice = goodsPrice;
		this.goodsImgInfo = goodsImgInfo;
		this.providerGoodsImgInfo = providerGoodsImgInfo;
		this.favScore = favScore;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
	}



	public String getGoodsImgInfo() {
		return goodsImgInfo;
	}

	public void setGoodsImgInfo(String goodsImgInfo) {
		this.goodsImgInfo = goodsImgInfo;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getProviderGoodsName() {
		return providerGoodsName;
	}

	public void setProviderGoodsName(String providerGoodsName) {
		this.providerGoodsName = providerGoodsName;
	}

	public Integer getProviderGoodsPrice() {
		return providerGoodsPrice;
	}

	public Integer getFavScore() {
		return favScore;
	}

	public void setFavScore(Integer favScore) {
		this.favScore = favScore;
	}

	public void setProviderGoodsPrice(Integer providerGoodsPrice) {
		this.providerGoodsPrice = providerGoodsPrice;
	}

	public Integer getProviderStatus() {
		return providerStatus;
	}

	public void setProviderStatus(Integer providerStatus) {
		this.providerStatus = providerStatus;
	}

	public Integer getProviderSaleVolume() {
		return providerSaleVolume;
	}

	public void setProviderSaleVolume(Integer providerSaleVolume) {
		this.providerSaleVolume = providerSaleVolume;
	}

	public Integer getProviderAreaId() {
		return providerAreaId;
	}

	/**
	 * 对应的应该是 阿里 的goodsid
	 * @return
	 */
	public Long getTaobaoGoodsId() {
		return taobaoGoodsId;
	}
	/**
	 * 对应的应该是 阿里 的goodsid
	 * @return
	 */
	public void setTaobaoGoodsId(Long taobaoGoodsId) {
		this.taobaoGoodsId = taobaoGoodsId;
	}

	public void setProviderAreaId(Integer providerAreaId) {
		this.providerAreaId = providerAreaId;
	}

	public Integer getProviderStock() {
		return providerStock;
	}

	public void setProviderStock(Integer providerStock) {
		this.providerStock = providerStock;
	}

	public Integer getProviderViewNum() {
		return providerViewNum;
	}

	public void setProviderViewNum(Integer providerViewNum) {
		this.providerViewNum = providerViewNum;
	}

	public Integer getProviderFavNum() {
		return providerFavNum;
	}

	public void setProviderFavNum(Integer providerFavNum) {
		this.providerFavNum = providerFavNum;
	}

	public Integer getProviderId() {
		return providerId;
	}

	public void setProviderId(Integer providerId) {
		this.providerId = providerId;
	}

	public Long getProviderTaobaoGoodsId() {
		return providerTaobaoGoodsId;
	}

	public void setProviderTaobaoGoodsId(Long providerTaobaoGoodsId) {
		this.providerTaobaoGoodsId = providerTaobaoGoodsId;
	}

	public Integer getPartnumber() {
		return partnumber;
	}

	public void setPartnumber(Integer partnumber) {
		this.partnumber = partnumber;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getStock() {
		return stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getProviderGoodsImgInfo() {
		return providerGoodsImgInfo;
	}

	public void setProviderGoodsImgInfo(String providerGoodsImgInfo) {
		this.providerGoodsImgInfo = providerGoodsImgInfo;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	
	public GoodsInfo clone(){
		try {
			return (GoodsInfo) super.clone();
		} catch (CloneNotSupportedException e) {
		}
		return this;
	}
	
}
